home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0399 / 396 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1021 b 

  1. From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2. Date: Mon, 26 Jul 93 10:45:01 +0200
  3. Message-Id: <9307260845.AA11790@issan.informatik.uni-dortmund.de>
  4. To: nox@jelal.north.de
  5. In-Reply-To: <9307231835.AA00268@jelal.north.de> (message from Juergen Lock on Fri, 23 Jul 93 20:35:44 CES)
  6. Subject: Re: O_APPEND, file locking...
  7.  
  8. >>>>> On Fri, 23 Jul 93 20:35:44 CES, Juergen Lock <nox@jelal.north.de> said:
  9. |>  quick question: on what filesystems does O_APPEND (or fopen (.. "a"))
  10. |>  work with > 1 processes writing to the same file?  i doubt it does on
  11. |>  GEMDOSfs, but on others?  reason i ask is should i put locking code
  12. |>  around simple one-line fprintfs to logfiles.. i would rather not :-)
  13.  
  14. It works with every filesystem, because MiNT translates it to
  15. lseek(SEEK_END) + write, atomically.
  16.  
  17. ----------------------------------------------------------------------
  18. Andreas Schwab                                  "And now for something
  19. schwab@ls5.informatik.uni-dortmund.de            completely different"
  20.